﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<t_205_verk_hopur_12.Models.ChannelFormViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Breyta stöð
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Breyta stöð</h2>
    <% Html.RenderPartial("ChannelForm"); %>

    <div>
        <%= Html.ActionLink("Til baka", "Index", new { id = Model.Channel.ID })%>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LogoText" runat="server">
    <% if (Model.Channel.Name != null)
       { %>
        <%= Html.ActionLink(Model.Channel.Name, "Index", new { id = Model.Channel.ID })%>
    <% } %>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="MenuBar" runat="server">
    <% Html.RenderPartial("AdminChannelMenuBar", Model.Channel); %>
</asp:Content>